package dk.itu.amds.auctionhouse.domain;

import java.io.Serializable;

public class Bid implements Serializable{
	private int buyerUserId;
	private float bidPrice;
	public int getBuyerUserId() {
		return buyerUserId;
	}
	public void setBuyerUserId(int buyerUserId) {
		this.buyerUserId = buyerUserId;
	}
	public float getBidPrice() {
		return bidPrice;
	}
	public void setBidPrice(float bidPrice) {
		this.bidPrice = bidPrice;
	}
	public Bid(int buyerUserId, float bidPrice) {
		super();
		this.buyerUserId = buyerUserId;
		this.bidPrice = bidPrice;
	}
	
	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		
		sb.append("Bid[");
		sb.append("BuyerUserId: " + buyerUserId + ", ");
		sb.append("Bid price: " + bidPrice + ", ");
	
		return sb.toString();
	}
	
}
